Optimal. Leaf size=36 \[ \frac{\left (a+b x^2\right ) \sqrt{a^2+2 a b x^2+b^2 x^4}}{4 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0255502, antiderivative size = 36, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.083, Rules used = {1107, 609} \[ \frac{\left (a+b x^2\right ) \sqrt{a^2+2 a b x^2+b^2 x^4}}{4 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1107
Rule 609
Rubi steps
\begin{align*} \int x \sqrt{a^2+2 a b x^2+b^2 x^4} \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int \sqrt{a^2+2 a b x+b^2 x^2} \, dx,x,x^2\right )\\ &=\frac{\left (a+b x^2\right ) \sqrt{a^2+2 a b x^2+b^2 x^4}}{4 b}\\ \end{align*}
Mathematica [A] time = 0.0071594, size = 38, normalized size = 1.06 \[ \frac{\sqrt{\left (a+b x^2\right )^2} \left (2 a x^2+b x^4\right )}{4 \left (a+b x^2\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.043, size = 35, normalized size = 1. \begin{align*}{\frac{{x}^{2} \left ( b{x}^{2}+2\,a \right ) }{4\,b{x}^{2}+4\,a}\sqrt{ \left ( b{x}^{2}+a \right ) ^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.45774, size = 31, normalized size = 0.86 \begin{align*} \frac{1}{4} \, b x^{4} + \frac{1}{2} \, a x^{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.091266, size = 12, normalized size = 0.33 \begin{align*} \frac{a x^{2}}{2} + \frac{b x^{4}}{4} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.14333, size = 30, normalized size = 0.83 \begin{align*} \frac{1}{4} \,{\left (b x^{4} + 2 \, a x^{2}\right )} \mathrm{sgn}\left (b x^{2} + a\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]